/**
 * @mbg.generated generator on Sat Mar 25 13:05:41 CST 2023
 */
package com.ybox.app.service.impl;

import com.ybox.app.domain.AppCollectLabel;
import com.ybox.app.domain.example.AppCollectLabelExample;
import com.ybox.app.mapper.AppCollectLabelMapper;
import com.ybox.app.service.AppCollectLabelService;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * @author 16554
 */
@Service
public class AppCollectLabelServiceImpl implements AppCollectLabelService {
    private final AppCollectLabelMapper appCollectLabelMapper;

    public AppCollectLabelServiceImpl(AppCollectLabelMapper appCollectLabelMapper) {
        this.appCollectLabelMapper = appCollectLabelMapper;
    }

    /**
     * countByExample
     * @param example example
     * @return long
     */
    @Override
    public long countByExample(AppCollectLabelExample example) {
        return appCollectLabelMapper.countByExample(example);
    }

    /**
     * deleteByExample
     * @param example example
     * @return int
     */
    @Override
    public int deleteByExample(AppCollectLabelExample example) {
        return appCollectLabelMapper.deleteByExample(example);
    }

    /**
     * deleteByPrimaryKey
     * @param labelId labelId
     * @return int
     */
    @Override
    public int deleteByPrimaryKey(Long labelId) {
        return appCollectLabelMapper.deleteByPrimaryKey(labelId);
    }

    /**
     * insert
     * @param row row
     * @return int
     */
    @Override
    public int insert(AppCollectLabel row) {
        return appCollectLabelMapper.insert(row);
    }

    /**
     * insertSelective
     * @param row row
     * @return int
     */
    @Override
    public int insertSelective(AppCollectLabel row) {
        return appCollectLabelMapper.insertSelective(row);
    }

    /**
     * selectByExample
     * @param example example
     * @return List<AppCollectLabel>
     */
    @Override
    public List<AppCollectLabel> selectByExample(AppCollectLabelExample example) {
        return appCollectLabelMapper.selectByExample(example);
    }

    /**
     * selectCollectLabelList
     * @param appCollectLabel appCollectLabel
     * @return AppCollectLabel
     */
    @Override
    public List<AppCollectLabel> selectCollectLabelList(AppCollectLabel appCollectLabel){
        return appCollectLabelMapper.selectCollectLabelList(appCollectLabel);
    }

    /**
     * selectByPrimaryKey
     * @param labelId labelId
     * @return AppCollectLabel
     */
    @Override
    public AppCollectLabel selectByPrimaryKey(Long labelId) {
        return appCollectLabelMapper.selectByPrimaryKey(labelId);
    }

    /**
     * updateByExampleSelective
     * @param row row
     * @param example example
     * @return int
     */
    @Override
    public int updateByExampleSelective(AppCollectLabel row, AppCollectLabelExample example) {
        return appCollectLabelMapper.updateByExampleSelective(row, example);
    }

    /**
     * updateByExample
     * @param row row
     * @param example example
     * @return int
     */
    @Override
    public int updateByExample(AppCollectLabel row, AppCollectLabelExample example) {
        return appCollectLabelMapper.updateByExample(row, example);
    }

    /**
     * updateByPrimaryKeySelective
     * @param row row
     * @return int
     */
    @Override
    public int updateByPrimaryKeySelective(AppCollectLabel row) {
        return appCollectLabelMapper.updateByPrimaryKeySelective(row);
    }

    /**
     * updateByPrimaryKey
     * @param row row
     * @return int
     */
    @Override
    public int updateByPrimaryKey(AppCollectLabel row) {
        return appCollectLabelMapper.updateByPrimaryKey(row);
    }

    /**
     * updateBatch
     * @param list list
     * @return int
     */
    @Override
    public int updateBatch(List<AppCollectLabel> list) {
        return appCollectLabelMapper.updateBatch(list);
    }

    /**
     * updateBatchSelective
     * @param list list
     * @return int
     */
    @Override
    public int updateBatchSelective(List<AppCollectLabel> list) {
        return appCollectLabelMapper.updateBatchSelective(list);
    }
}